package controllers

import (
	beego "github.com/beego/beego/v2/server/web"
)

type MainController struct {
	beego.Controller
}

func init() {
	beego.SetStaticPath("/assets", "views/dist/assets")
	beego.SetStaticPath("vite.svg", "views/dist/vite.svg")
	beego.SetStaticPath("/model", "views/dist/model")
}

func (c *MainController) Get() {
	c.TplName = "dist/index.html"
}
